import random
message = random.randint(0,10)
prompt = "\nHere I hold a number,please guess it from 0 to 10."
prompt += "\nEnter '555' to close the game."
print(prompt)
active = True
while True:
	num = input("\nPlease type your number")
	num = int(num)
	if num == 555:
		print("You lose!")
		active = False
		break
	elif num == message:
		print("You win!")
		active = False
		break
	elif num != message:
		print("It's wrong.Please try again.")


		

